package com.yc.entities.custom;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @author kukaha
 * @version 1.0.0
 * @ClassName CustomEquipmentUpdateRequestBean.java
 * @Description TODO
 * @createTime 2021年04月17日 19:39:00
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "CustomEquipmentUpdateRequestBean对象", description = "设备管理更新请求Bean")
public class CustomEquipmentUpdateRequestBean {

    @ApiModelProperty(value = "设备id ")
    @NotNull(message = "设备id不能为空")
    private Integer id;
    @ApiModelProperty(value = "设备编号 ")
    private String equipmentCode;
    @ApiModelProperty(value = "设备所属科室id")
    @NotNull(message = "科室id不能为空")
    private Integer departmentId;
    @ApiModelProperty(value = "设备mac地址 ")
    private String mac;

}
